detention in a reformatory